<?php 

class lora{
    public $listData;
    public function readData(){

        $file = fopen('./countries.csv','r'); 
        while ($data = fgetcsv($file)) {
        $list[] = $data;
         }
         $this->listData = $list;
    return $list;
         fclose($file);
    }

    public function search($data){
        $data=$this->listData;
    }
}
?> 